<div class="input-group">
	<ui-select ng-model="$parent.selected" multiple theme="bootstrap" ng-disabled="!!disabled" title="{{ title }}"
		ng-required="!!required" append-to-body="true" style="min-width: 100px;"
		reset-search-input="{{ resetSearchInput }}" close-on-select="{{ closeOnSelect }}">
		<ui-select-match placeholder="{{ placeholder || title }}">{{ $item._fieldText }}</ui-select-match>
	    <ui-select-choices repeat="obj in data"
	             refresh="search($select.search)"
	             refresh-delay="200">
			<div ng-bind-html="obj._fieldText | highlight: $select.search"></div>
		</ui-select-choices> 
	</ui-select>
	<span class="input-group-btn">
		<button type="button" ng-click="selected=[]" class="btn btn-default">
			<span class="glyphicon glyphicon-trash"></span>
		</button>
	</span>
</div>	